//package com.dxy.yesas2020goals.study.partone.disignpattern.observerpattern.mouseevent;
//
//import com.gupaoedu.vip.pattern.observer.mouseevent.handler.Mouse;
//import com.gupaoedu.vip.pattern.observer.mouseevent.handler.MouseEventLisenter;
//import com.gupaoedu.vip.pattern.observer.mouseevent.handler.MouseEventType;
//
///**
// * Created by Tom.
// */
//public class Test {
//    public static void main(String[] args) {
//        MouseEventLisenter lisenter = new MouseEventLisenter();
//
//        Mouse mouse = new Mouse();
//        mouse.addLisenter(MouseEventType.ON_CLICK,lisenter);
//        mouse.addLisenter(MouseEventType.ON_MOVE,lisenter);
//
//        mouse.click();
//        mouse.move();
//    }
//}
